<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!doctype html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>查看二维码</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<jsp:include page="/WEB-INF/views/common.jsp"></jsp:include>
    <script type="text/javascript" src="<%=path%>/resources/script/jquery.qrcode.min.js"></script>
	<script type="text/javascript" src="<%=path%>/resources/script/subjectManage/view_code.js"></script>
	

  </head>
  
  <body>
    
    <div class="easyui-layout" fit="true">
   		<div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
		<form id="form" method="post">
			<input id="id" name="id" type="hidden" value="${subject.id }" />
			<table class="edit-table">
				<tr>
					<th>学科名称：</th>
					<td><input id="name" name="name" value="${subject.name }" required="true" missingMessage="学科名称不能为空" class="easyui-validatebox edit-input" style="width: 250px;" /></td>
				</tr>
				<tr>
					<div id="code"></div> 
				</tr>
			</table> 
		</form>
   		</div>
   	</div>
    
  </body>
</html>
